package cn.engage.pet.service.impl;


import cn.engage.basic.service.impl.BaseServiceImpl;
import cn.engage.pet.domain.PetOnlineAuditLog;
import cn.engage.pet.mapper.PetOnlineAuditLogMapper;
import cn.engage.pet.service.PetOnlineAuditLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author itsource
 * @since 2022-10-28
 */
@Service
public class PetOnlineAuditLogServiceImpl extends BaseServiceImpl<PetOnlineAuditLog> implements PetOnlineAuditLogService {

    @Autowired
    private PetOnlineAuditLogMapper petOnlineAuditLogMapper;

    /* 宠物日志修改状态为审核成功 */
    @Override
    public void auditSucceede(List<Long> ids) {
        petOnlineAuditLogMapper.auditSucceede(ids);
    }

    /* 宠物日志修改状态为审核失败 */
    @Override
    public void auditFailde(List<Long> ids) {
        petOnlineAuditLogMapper.auditFailde(ids);
    }
}
